<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>destructuring</title>
</head>
<body>
<script>
    const [a,b,c,d,e]='hello';
    console.log(a)
    console.log(b)
    console.log(c)
    console.log(d)
    console.log(e)

    const {length:len}='hello';
    console.log(len);
</script>
</body>
</html>